package com.dronff.gvm.memorymanager.impl;

import com.dronff.gvm.interfaces.MemoryType;
import com.dronff.gvm.memorymanager.Memory;
import com.dronff.gvm.memorymanager.MemoryTypes;
import com.dronff.gvm.memorymanager.MiniMemory;

/**
 * @author: tyf
 * @date: 2022/9/9 10:28
 * @description: todo(
 */
@Deprecated
public class TypeMiniMemoryImpl extends MiniMemory implements MemoryType {
    private MemoryTypes memoryTypes;
    public TypeMiniMemoryImpl(int startIndex, int endIndex, Memory parentMemory) {
        super(startIndex, endIndex, parentMemory);
    }

    @Override
    public MemoryTypes getMemoryType() {
        return memoryTypes;
    }

    @Override
    public void setMemoryType(MemoryTypes memoryType) {
        this.memoryTypes = memoryType;
    }
}
